<include file="./Tm/Dt/Top.html" />

<include file="./Tm/Dt/Left.html" />

<!--页面右侧内容块-->
<!--顶部信息栏-->
<script type="text/javascript">
    $(function(){
        $(".gg_clos").click(function(){
            $(".gonggao").hide();
        })
        if(typeof(Storage) !== "undefined") {
            if (sessionStorage.clickcount) {
                sessionStorage.clickcount = Number(sessionStorage.clickcount)+1;
            } else {
                sessionStorage.clickcount = 1;
            }
            $(".gonggao").attr("index",sessionStorage.clickcount)
        }

        var mun = $(".gonggao").attr("index")
        if(mun > 1){
            $(".gonggao").hide();
        }
    })
</script>
<div class="gonggao">
	<div class="gg_auto">
		<div class="gg_title">
			<p>公告</p>
		</div>
		<div class="gg_body">
			<ul>
				<li>
					<h2>{$news.title}</h2>
				</li>
				<li>
					<p class="gg_time">发布时间：{$news.createtime|date="Y-m-d H:i:s",###}</p>
				</li>
				<li>
                    {$news.content|htmlspecialchars_decode}
				</li>
			</ul>
		</div>
		<div class="gb_but">
			<button type="button" class="btn btn-danger gg_clos">关闭</button>
		</div>
	</div>
</div>

<div id="right">
    <include file="./Tm/Dt/Nav.html" />
    <!--主要内容块-->
    <!--<style type="text/css">
    	.main{
		    padding: 45px 166px 45px 66px;
    	}
    </style>-->
    <div class="main shouye">
        <div class="index_cont">
            <div class="my_team">
				<div class="ewm">
                    <div class="pull-left">
                        <img src="/user/qrcode?url={$domain}/reg?id={$Think.session.username}" width="80" height="80">
                        <p class="text-center">扫一扫推荐</p>
                    </div>
                    <!--<div class="pull-left">
                       
                       <img src="/user/qrcode?url=www.pgyer.com/PXV7" width="80" height="80">
                        
                        <p class="text-center">APP安卓版</p>
                    </div>-->
            	</div>
                <!--<ul class="clearfix">

                    <li><b>用户名:&nbsp;</b><span>{$Think.session.username}</span></li>
                    <li><b>会员级别:&nbsp;</b><span>
                        <switch name="room.gotegary">
                            <case value="0">普通会员</case>
                            <case value="1">银卡会员</case>
                            <case value="2">金卡会员</case>
                            <case value="3">钻卡会员</case>
                        </switch>

                    </span></li>
                    <li><b>投资额度:&nbsp;</b><span>
                        {$room.limit}

                    </span></li>
                   
                </ul>-->
                <ul class="clearfix">
                	<li><b>推广链接:&nbsp;</b><span id="geturl">http://{$domain}/reg?id={$Think.session.username} </span>

                        <button id="d_clip_button" class="my_clip_button hidden-xs" data-clipboard-target="fe_text"><b>复制到剪贴板</b></button>
                        <textarea id="fe_text" cols="50" rows="3" style="display:none;">http://{$domain}/reg?id={$Think.session.username}</textarea>

                    </li>
                </ul>
                <div class="sche_box">
                    <div class="sche">
                        <div class="progress">
                            <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="{$bnum}" aria-valuemin="0" aria-valuemax="100" style="width: {$bnum}%">
                                <span class="sr-only">团队数量</span>
                                <span class="pos_right">{$bnum}人</span>
                            </div>
                        </div>
                    </div>
                    <div class="sche">
                        <div class="progress">
                            <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="{$anum}" aria-valuemin="0" aria-valuemax="100" style="width: {$anum}%">
                                <span class="sr-only">直推数量</span>
                                <span class="pos_right">{$anum}人</span>
                            </div>
                        </div>
                    </div>
                    <div class="sche">
                        <div class="progress">
                            <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="{$integral.integral4}" aria-valuemin="0" aria-valuemax="100" style="width: {$integral.integral4}%">
                                <span class="sr-only">激活码</span>
                                <span class="pos_right">{$integral.integral4}个</span>
                            </div>
                        </div>
                    </div>

                    <p class="num text-right color-e35452">排单币&nbsp;:&nbsp;<b>{$integral.integral3}</b></p>
                </div>
            </div>
            <div class="index_zh">
                <div class="szh container-fluid">
                    <ul class="row text-center">
                        <li class="col-lg-3 col-md-12">
                            <p><b>可用静态账户</b></p>
                            <h2>￥{$integral.integral1}</h2>
                        </li>
                        <li class="col-lg-3 col-md-12">
                            <p><b>冻结静态账户</b></p>
                            <h2>￥<if condition="$f1 eq ''">0.00<else />{$f1}</if></h2>
                        </li>

                        <li class="col-lg-3 col-md-12">
                            <p><b>可用动态账户</b></p>
                            <h2>￥{$integral.integral2}</h2>
                        </li>
                        <li class="col-lg-3 col-md-12">
                            <p><b>冻结动态账户</b></p>
                            <h2>￥<if condition="$f2 eq ''">0.00<else />{$f2}</if></h2>
                        </li>

                    </ul>
                </div>
            </div>
            <div class="container-fluid las_box">
                <div class="row">

                    <div class="col-lg-6 col-md-12">
                    	<p><a href="/user/dohelp.html" class="btn btn-block btn-danger">提供帮助</a></p>
                        <volist name="tdata" id="vo">
                        <div class="text_box">
                            <p class="text-center color-d84a38"><b>提供帮助排单号：{$vo.orderid}</b></p>
                            <p class="text-center">参加者：<span>{$Think.session.username}</span></p>
                            <p class="text-center">提供帮助数额：<span>RMB {$vo.price}</span></p>
                            <p class="text-center">排队日期：<span>{$vo.createtime|date='Y-m-d H:i:s',###}</span></p>
                            <p class="text-center">当前状态：<span class="color-d84a38"> <switch name="vo.status">
                                <case value="0">排队中，等待匹配</case>
                                <case value="1">匹配完成，等待打款</case>
                                <case value="2">打款完成，等待确认</case>
                                <case value="3">确认完成，成功提供帮助</case>

                            </switch></span></p>

                            <p class="lookxq"><a href="/user/vdohelp.html?id={$vo.id}" class="text-center">查看详情</a></p>
                        </div>
                        </volist>
                    </div>


                    <div class="col-lg-6 col-md-12">
                    	<p><a href="/user/gethelp.html" class="btn btn-block btn-primary">得到帮助</a></p>
                        <volist name="gdata" id="vo">
                        <div class="text_box">
                            <p class="text-center color-35aa47"><b>得到帮助排单号：{$vo.orderid}</b></p>
                            <p class="text-center">参加者：<span>{$Think.session.username}</span></p>
                            <p class="text-center">得到帮助数额：<span>RMB {$vo.price}</span></p>
                            <p class="text-center">排队日期：<span>{$vo.createtime|date='Y-m-d H:i:s',###}</span></p>
                            <p class="text-center">当前状态：<span class="color-d84a38"><switch name="vo.status">
                                <case value="0">排队中，等待匹配</case>
                                <case value="1">匹配完成，等待打款</case>
                                <case value="2">打款完成，等待确认</case>
                                <case value="3">确认完成，成功提供帮助</case>

                            </switch></span></p>

                            <p class="lookxq"><a href="/user/vgethelp.html?id={$vo.id}" class="text-center">查看详情</a></p>
                        </div>
                        </volist>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<!--手机导航-->
<!--<style type="text/css">
	.right_box{
		width: 100px;
		/*height: 100vh;*/
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		background: #000320;
	}
</style>
<div class="right_box">
	<div class="r_top">
		
	</div>
	<div class="r_botton">
		
	</div>
</div>-->


<include file="./Tm/Dt/Foot.html" />


<script type="text/javascript" src="/Public/ZeroClipboard/ZeroClipboard.js"></script>
<script type="text/javascript">
    // 定义一个新的复制对象
    var clip = new ZeroClipboard( document.getElementById("d_clip_button"), {
        moviePath: "/Public/ZeroClipboard/ZeroClipboard.swf"
    } );

    // 复制内容到剪贴板成功后的操作
    clip.on( 'complete', function(client, args) {
        alert("复制成功，复制内容为："+ args.text);
    } );

</script>